﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;

namespace Page.Objects
{
    public class AnyPage : Page
    {
        const string ClassLan = @"//div[@class='languages']";

        [FindsBy(How = How.XPath, Using = ClassLan + "//a[contains(@href, 'lang=en_US')]")]
        public IWebElement MenuEnglishLink;


        [FindsBy(How = How.XPath, Using = ClassLan + "//a[contains(@href, 'lang=nl_NL')]")]
        public IWebElement MenuNederlandsLink;
    }
}
